package com.ssm.mapper;

import java.util.HashMap;
import java.util.List;

import com.github.pagehelper.Page;
import com.ssm.model.AssessPlanModel;
import com.ssm.model.LoginInfo;
import com.ssm.model.ProfessorConfirmModel;
import com.ssm.model.ProfessorModel;
import com.ssm.model.ProfessorSummaryModel;
import com.ssm.model.TeacherModel;

public interface ProfessorMapper {
	/*admin*/
	//显示专家列表
	List<ProfessorModel> selectProfessor(HashMap<String, Object> map);
	//查询所有
	List<ProfessorModel> selectAll();
	//根据id查询
	ProfessorModel selectById(Integer pId);

	//professorSummary
	ProfessorSummaryModel selectProfessorSummaryById(Integer psId);
	//professorConfirm
	ProfessorConfirmModel selectProfessorConfrimById(Integer pcId);


	/*front*/
	Integer updateInfo(ProfessorModel professorModel);
	//更新验证码
	Integer updateVerifyByEmail(HashMap map);
	//验证验证码
	Integer checkVerify(HashMap map);
	//评估管理-查看教师 ByPid
	List<TeacherModel> selectTeacherByPid(Integer pId);
	//评估管理-查看评估安排
	AssessPlanModel selectAssessPlanByTid(Integer tId);
}
